#ifndef __SEGMENT_H__
#define __SEGMENT_H__

#include <control.h>
#include <position.h>
#include <object.h>
#include <cairo-aliases.h>

class Segment : public Object, public Position
{
	public:
	Control points[2];

	Segment (double x, double y) : Object (), Position (x, y) {};
};

void draw_segment (CairoContext *, Segment);

#endif // __SEGMENT_H__
